@import '../global/dpr.scss';
body{
	height: 100vh;
	background: #f7f7f7;
}
.header {
    flex: 1;
    height: 1.3333rem;
    position: relative;
    .title {
        text-align: center;
        line-height: 1.3333rem;
        color: #eee;
        @include font-dpr(16px);
    }
    .icon-item {
        position: absolute;
        top: 50%;
        right: 2rem;
        transform: translateY(-50%);
        width: 0.586666rem;
        height: 0.586666rem;
        img {
            width: 100%;
            height: 100%;
        }
    }
    .icon-item:nth-of-type(1) {
        right: 2rem;
    }
    .icon-item:nth-of-type(2) {
        right: 0.933333rem;
    }
}

.search {
    position: relative;
    padding: 0.266666rem;
    input {
        margin: 0;
        padding: 0;
        background: #f7f7f7;
        height: 0.666666rem;
        padding-left: 0.8rem;
        border: 0;
    }
    i {
        position: absolute;
        left: 0.533333rem;
        top: 50%;
        transform: translateY(-50%);
        @include font-dpr(12px);
    }
}
.nav {
    display: flex;
    height: 2.933333rem;
    padding: 0.4rem 0;
    .nav-item {
        width: 33.3%;
        height: 100%;
        a {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            i {
                width: 0.8rem;
                height: 0.8rem;
                display: inline-block;
            }
            h2 {
                @include font-dpr(14px);
                padding-top: 0.266666rem;
                color: #222;
            }
            span {
                padding-top: 0.2rem;
                color: #bbb;
            }
        }
        & .friend-icon {
            background: url(../../images/friend/add-friend.png) no-repeat;
            background-size: cover;
        }
        & .txl-icon {
            background: url(../../images/friend/tongxun.png) no-repeat;
            background-size: cover;
        }
        & .circle-icon {
            background: url(../../images/friend/circle.png) no-repeat;
            background-size: cover;
        }
    }
}
.txl-list {
    margin-top: 0.266666rem;
    padding-left: 0.533333rem;
    .txl-item {
        height: 1.6rem;
		padding: 0.133333rem 0;
        display: flex;
        align-items: center;
        .photo {
			margin-top: 0.2rem;
            width: 0.8rem;
            height: 0.8rem;
            img {
                width: 100%;
                height: 100%;
            }
        }

        .item-right {
            height: 100%;
			display: flex;
			flex-direction: column;
			justify-content: center;
            flex: 1;
            margin-left: 0.4rem;
            border-bottom: 1px solid #eee;
            hgroup {
				padding-top: 0.266666rem;
                display: flex;
                justify-content: space-between;
                strong {
                    @include font-dpr(14px);
                    color: #222;
                }
                time {
                    padding-right: 0.533333rem;
					color:#bbb;
                }
            }

        }
		p {
			@include font-dpr(10px);
			padding-top: 0.2rem;
		}
		&:nth-last-of-type(1) .item-right{
			border:0;
		}
    }
}
